//
//  CZSettingItemSwitch.h
//  0908网易彩票01
//
//  Created by Apple on 15/9/8.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import "ZDSettingItem.h"

typedef void (^ZDSettingItemSwitchBlock) (BOOL on);

@interface ZDSettingItemSwitch : ZDSettingItem

#warning 若重命名getter方法，则不会自动生成_on属性
//@property (nonatomic, assign, getter=isOn) BOOL on;

//保存开关的状态
@property (nonatomic, assign) BOOL on;

@property (nonatomic, copy) ZDSettingItemSwitchBlock switchBlock;

@end
